.react-resizable {
  position: relative;
  // background-clip: padding-box;
}

.th-resizable-handle {
  position: absolute;
  right: -5px;
  bottom: 0;
  z-index: 1;
  width: 10px;
  height: 100%;
  cursor: col-resize;
}

.th-resizable-handle::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e8e8e8;
  transition: background-color 0.3s;
}

.th-resizable-handle:hover::after {
  background-color: #1890ff;
}

.move-btn {
  cursor: move;
}

.ant-table-row {

  position: relative;

  &.drop-top::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -2px;
    height: 2px;
    background-color: #1890ff;
    z-index: 1;
  }

  &.drop-bottom::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: #1890ff;
    z-index: 1;
  }
}

.ant-table-row:hover {
  background-color: #fafafa;
}

.ant-table-row.dragging {
  background-color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.table-container {
  position: relative;
  min-height: 200px;
  border: 2px solid transparent;
  transition: all 0.3s;
  // padding: 8px;

  &.drop-target {
    border-color: #1890ff;
    background-color: rgba(24, 144, 255, 0.05);
    box-shadow: 0 0 8px rgba(24, 144, 255, 0.2);
  }

  .ant-table-tbody>tr.dragging {
    background: #fafafa;

    td {
      // padding: 12px;
      visibility: visible;
    }
  }

  .ant-table-tbody>tr {
    transition: all 0.3s;

    &:hover {
      background: #f5f5f5;
    }
  }

  .th-resizable-handle {
    position: absolute;
    right: -5px;
    bottom: 0;
    top: 0;
    width: 10px;
    cursor: col-resize;
    z-index: 1;
  }
}